/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include "Context/当前默认操作数据.h"


void f_NE_骨骼物体状态颜色设置(const std::vector<S_物体*>& obs);
void f_NE_骨骼编辑状态颜色设置(const std::vector<S_物体*>& obs);

void f_NE_拷贝物体(const S_OBArray* obs, uint32 拷贝数量, S_OBArray* 新物体组, bool 是否实例, S_设备环境& ctx);
void f_NE_拷贝物体(const S_OBArray* obs, uint32 拷贝数量, S_物体* 新物体的父物体, S_OBArray* 新物体组, bool 是否实例, S_设备环境& ctx);
void f_NE_对称物体(const std::vector<S_物体*>& obs, std::vector<S_物体*>& 新物体组, bool 对称轴[3], vec3 中心坐标);



void f_NE_多边形转网格(S_物体* ob, bool 平滑法线);



struct S_可编辑物体 {
	S_Props m_当前激活UV层;
	S_物体* m_Ob;
};


S_可编辑物体* f_OE_创建可编辑物体属性(S_物体* ob);
S_可编辑物体* f_OE_取可编辑物体属性(S_物体* ob);
void f_OE_销毁可编辑物体属性(S_物体* ob);
void f_OE_销毁所有可编辑物体属性();



